﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Ccteg.Common
{
    /// <summary>
    /// 现场监管
    /// </summary>
    public class Rss_Check
	{
		/// <summary>
		///唯一编号
		/// </summary>
		[Key]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		public int Id { get; set; }

		/// <summary>
		///修改人
		/// </summary>
		public string ModifiedBy { get; set; }

		/// <summary>
		///修改时间
		/// </summary>
		public DateTime? ModifiedOn { get; set; }

		/// <summary>
		///未通过原因
		/// </summary>
		public string NoPassContent { get; set; }

		///// <summary>
		///// 添加修改时传参  带队检查人--
		///// </summary>
		//public Rss_PartMan LeaderPart { get; set; }

		/// <summary>
		/// 查询时显示  带队检查人--
		/// </summary>
		public string Leader { get; set; }

		///// <summary>
		///// 添加修改时传参  检查参与人--
		///// </summary>
		//public List<Rss_PartMan> PartManList { get; set; }

		/// <summary>
		/// 查询时显示  检查参与人--
		/// </summary>
		public string PartMan { get; set; }

		/// <summary>
		///审核时间
		/// </summary>
		public DateTime? PassDate { get; set; }

		/// <summary>
		///整改要求
		/// </summary>
		public string Require { get; set; }

		/// <summary>
		///排序
		/// </summary>
		public int? Sort { get; set; }

		/// <summary>
		///安全风险业务全称（煤矿，工程，加工基地名称）--
		/// </summary>
		public string SrbName { get; set; }

		/// <summary>
		///业务编码/各二级单位上传保证唯一，但二级单位之间有可能重复，通过和二级单位编码联合可保证唯一---
		/// </summary>
		public string SrbNo { get; set; }

		/// <summary>
		///未检查，检查中，待审核，审批未通过，待二级单位确认，二级单位已确认
		/// </summary>
		public string State { get; set; }

		/// <summary>
		///?默认空
		/// </summary>
		public string TenantId { get; set; }

		/// <summary>
		///行业--
		/// </summary>
		public string Trade { get; set; }

		/// <summary>
		///附件(备用)
		/// </summary>
		public string AllFile { get; set; }

		/// <summary>
		///安全风险业务类型--
		/// </summary>
		public string Category { get; set; }

		/// <summary>
		///检查内容--
		/// </summary>
		public string CheckContent { get; set; }

		/// <summary>
		///检查日期--
		/// </summary>
		public DateTime? CheckDate { get; set; }

		/// <summary>
		///检查名称--
		/// </summary>
		public string CheckName { get; set; }

		/// <summary>
		///检查编号(规则生成)--
		/// </summary>
		public string CheckNo { get; set; }

		/// <summary>
		///检查纪要--
		/// </summary>
		public string CheckSummary { get; set; }

		/// <summary>
		///检查纪要附件--
		/// </summary>
		public string CheckSummaryFile { get; set; }

		/// <summary>
		///检查类型（现场监管、远程监管）--1：现场监管；2：远程监管
		/// </summary>
		public string CheckType { get; set; }

		/// <summary>
		///受检单位全称
		/// </summary>
		public string CompanyFullName { get; set; }

		/// <summary>
		///受检单位--
		/// </summary>
		public string CompanyName { get; set; }

		/// <summary>
		///受检单位编号--
		/// </summary>
		public string CompanyNo { get; set; }

		/// <summary>
		///整改通知书附件
		/// </summary>
		public string CorrectFile { get; set; }

		/// <summary>
		///创建人
		/// </summary>
		public string CreatedBy { get; set; }

		/// <summary>
		///创建时间
		/// </summary>
		public DateTime? CreatedOn { get; set; }

		/// <summary>
		///是否删除（本系统逻辑删除)
		/// </summary>
		public bool? Deleted { get; set; }

		/// <summary>
		///?默认空
		/// </summary>
		public string Domain { get; set; }


	}
}
